Piwik\Plugins\ScheduledReports\SubscriptionModel S

Total Complexity 27
Dependencies 9
Dependents 2
Total lines 119
Lines of code 99
Logical lines of code 63
Comment lines 5
Methods 10
Properties 2

Methods 10

Method Rating Maintainability Complexity Lines of code
unsubscribe()
A
43 10 48
updateReportSubscriptions()
A
53 8 22
getReportSubscriptions()
S
67 2 7
__construct()
S
80 1 3
getSubscription()
S
78 1 3
removeSubscription()
S
78 1 3
generateToken()
S
77 1 3
tokenExists()
S
77 1 3
getDb()
S
81 1 3
install()
S
75 1 4